<template>
  <div class="app">
    <h1>我是App组件</h1>
    <h2 v-very-beauty="str"></h2>
    <h2 v-big="str"></h2>
    <Hello/>
    <h2>{{str | upper}}</h2>
    <button @click="welcome('tony')">点我欢迎你</button>
  </div>
</template>

<script>
  export default {
    name:'App',
    data() {
      return {
        str:'hello welcome to atguigu chengdu'
      }
    },
  }
</script>

<style>
  .app {
    background-color: gray;
    padding: 20px;
  }
</style>